package com.project.mapper;

import com.project.entity.KnowLedge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//农业操作
@Mapper
public interface KnowLedgeMapper {

    //分页查询
    public List<KnowLedge> findPage(@Param("pageIndex") Integer pageIndex,
                                    @Param("pageCount") Integer pageCount
                                   );



    public KnowLedge findOneById(@Param("id") Integer id);


   }
